package com.bootdo.wx.dao;

import com.bootdo.wx.domain.MemberPriceDO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 用户余额变动记录表
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-07-22 15:09:32
 */
@Mapper
public interface MemberPriceDao {

	MemberPriceDO get(String id);
	
	List<MemberPriceDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(MemberPriceDO memberPrice);
	
	int update(MemberPriceDO memberPrice);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	BigDecimal getSPriceByUser(Map<String, Object> map);

}
